Repository navigation
feat(models): add Atlas Cloud as an LLM supplier - #1440
Open
binyangzhu000-sudo wants to merge 1 commit into
Open
binyangzhu000-sudo wants to merge 1 commit into
binyangzhu000-sudo wants to merge 1 commit into
Conversation
Atlas Cloud is an OpenAI-compatible gateway (https://api.atlascloud.ai/v1) that serves DeepSeek, Kimi, GLM, Qwen and MiniMax models behind a single API key. Register it in the supplier picker next to the other OpenAI-compatible suppliers, mirroring the MiniMax supplier (dataease#996): icon, supplier entry, i18n label in all five locales, README provider table and unit tests. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Signed-off-by: binyangzhu000-sudo <224954946+binyangzhu000-sudo@users.noreply.github.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds Atlas Cloud as a named LLM supplier in the model-configuration picker, mirroring the MiniMax supplier added in #996. Atlas Cloud is an OpenAI-compatible gateway (
https://api.atlascloud.ai/v1) that exposes DeepSeek, Kimi, GLM, Qwen and MiniMax models behind one API key (https://www.atlascloud.ai/docs). It uses the existing OpenAI protocol path, so no backend change is needed.Disclosure: I work at Atlas Cloud.
Files:
frontend/src/entity/supplier.ts: new supplier entry (id: 16,api_domain, temperature arg, 5 preset models)frontend/src/assets/model/icon_atlascloud_colorful.png: 96x96 icon (same size as the MiniMax one)frontend/src/i18n/{en,zh-CN,zh-TW,ko-KR,th-TH}.json:supplier.atlasclouddocs/README.en.md: provider table rowbackend/tests/test_supplier_config.py: tests for the entry, icon and all five localesDecisions:
id: 16is the next unused id above the existing 15; the entry sits before the generic OpenAI entry and does not touch the MiniMax block.GET /v1/modelslist:deepseek-ai/deepseek-v4-flash,moonshotai/kimi-k3,zai-org/glm-5.2,qwen/qwen3.6-plus,minimaxai/minimax-m3. Users can still type any other model id.[0, 2].Test plan
python3 -m unittest tests.test_supplier_configinbackend/: 26 tests OK (22 before, +4 new)prettier@3 --check frontend/src/entity/supplier.tspassesBaseChatOpenAI(backend/apps/ai_model/openai/llm.py) against the real gateway withdeepseek-ai/deepseek-v4-flash: returnedpong(12 in / 27 out tokens, mostly reasoning tokens)GET /v1/modelsresponsevue-tsc/eslint/vite build(no frontend dependencies installed), and the picker UI was not opened in a browser, so the icon rendering is unchecked🤖 Generated with Claude Code